import { axiosInstance } from '../utils/request'

//获取所有日志
export const getAllLogApi = (data) => {
    return axiosInstance.get(`/log?${data}`, {
        headers: { 'Authentication': localStorage.token }
    })
}

//删除日志
export const delLogApi = (data) => {
    return axiosInstance.delete(`/log/${data}`, {
        headers: { 'Authentication': localStorage.token }
    })
}